package com.pfzy.utildemo.activity.record.soundrecord.constatns;

public class CallbackConstant {

    public static class FailInfo {
        public static final String CURRENT_HAS_BEEN_RECORDING = "current_has_been_recording";// 当前正在录音
        public static final String CURRENT_HAVE_OTHER_RECRODING_EVENT = "current_have_other_recroding_event";// 当前有其他录音事件
        public static final String MIC_NOT_AVAILABLITY = "mic_not_availablity";// 麦克风被占用了, 或没权限
        public static final String NO_RECORD_AUDIO_PERMISSION = "no_record_audio_permission";// 没有录音权限
        public static final String NO_RECORD_AUDIO_PERMISSION_WITHOUT_APPLY = "no_record_audio_permission_without_apply";// 没有录音权限, 并且也不会主动申请
        public static final String OPERATION_TOO_FREQUENTLY = "operation_too_frequently";// 操作太频繁
        public static final String STORAGE_SPACE_NOT_ENOUGH = "storage_space_not_enough";// 存储空间不够
    }

    public static class StopInfo {
        public static final String FILE_EXCEPTION = "file_exception";
        public static final String NORMAL_STOP = "normal_stop";
    }

    public enum ResultValue {
        StopInfo("stopInfo"),
        ExceptionStackInfo("ExceptionStackInfo");
        
        private String value;

        public String value() {
            return this.value;
        }

        ResultValue(String i) {
            this.value = i;
        }
    }
}
